package com.zm.daimai.damaiother.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
public interface ProductMapper {
    @Select("select * from dm_product where is_hot = 1 limit 0,10")
    List<Map<String,Object>> selectHots();
}
